package com.example.yichuangyun.model.order;

import java.util.List;

public class ServiceRecordModel {
    private List<ServiceModel> records;

    public List<ServiceModel> getRecords() {
        return records;
    }

    public void setRecords(List<ServiceModel> records) {
        this.records = records;
    }

    public static class ServiceModel {
        private String id;
        /**
         * 服务名称
         */
        private String serviceName;
        /**
         * 服务参数
         */
        private String serviceAttr;
        /**
         * 服务类型 1周期型
         */
        private int serviceType;
        /**
         * 当前周期
         */
        private int currentPeriod;

        /**
         * 总周期
         */
        private int totalPeriod;
        /**
         * 应收额
         */
        private String payableAmount;
        /**
         * 实收额
         */
        private String paymentAmount;
        /**
         * 贡献额
         */
        private String contributePrice;
        /**
         * 操作人
         */
        private String operateUserName;
        /**
         * 跟单人
         */
        private String trackUserName;
        /**
         * 款项确认状态 0未确认 1已确认
         */
        private int moneyConfirmStatus;
        /**
         * 服务节点
         */
        private ServiceNodeModel currentNode;
        /**
         * 状态 0待办、1在办、2暂停、3办结、4终止
         */
        private int status;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getServiceName() {
            return serviceName;
        }

        public void setServiceName(String serviceName) {
            this.serviceName = serviceName;
        }

        public String getServiceAttr() {
            return serviceAttr;
        }

        public void setServiceAttr(String serviceAttr) {
            this.serviceAttr = serviceAttr;
        }

        public int getCurrentPeriod() {
            return currentPeriod;
        }

        public void setCurrentPeriod(int currentPeriod) {
            this.currentPeriod = currentPeriod;
        }

        public int getServiceType() {
            return serviceType;
        }

        public void setServiceType(int serviceType) {
            this.serviceType = serviceType;
        }

        public int getTotalPeriod() {
            return totalPeriod;
        }

        public void setTotalPeriod(int totalPeriod) {
            this.totalPeriod = totalPeriod;
        }

        public String getPayableAmount() {
            return payableAmount;
        }

        public void setPayableAmount(String payableAmount) {
            this.payableAmount = payableAmount;
        }

        public String getPaymentAmount() {
            return paymentAmount;
        }

        public void setPaymentAmount(String paymentAmount) {
            this.paymentAmount = paymentAmount;
        }

        public String getContributePrice() {
            return contributePrice;
        }

        public void setContributePrice(String contributePrice) {
            this.contributePrice = contributePrice;
        }

        public String getOperateUserName() {
            return operateUserName;
        }

        public void setOperateUserName(String operateUserName) {
            this.operateUserName = operateUserName;
        }

        public String getTrackUserName() {
            return trackUserName;
        }

        public void setTrackUserName(String trackUserName) {
            this.trackUserName = trackUserName;
        }

        public int getMoneyConfirmStatus() {
            return moneyConfirmStatus;
        }

        public void setMoneyConfirmStatus(int moneyConfirmStatus) {
            this.moneyConfirmStatus = moneyConfirmStatus;
        }

        public ServiceNodeModel getCurrentNode() {
            return currentNode;
        }

        public void setCurrentNode(ServiceNodeModel currentNode) {
            this.currentNode = currentNode;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }

    public static class ServiceNodeModel {
        private int nodePosition;
        private int nodeTotalNumber;
        private String nodeName;

        public int getNodePosition() {
            return nodePosition;
        }

        public void setNodePosition(int nodePosition) {
            this.nodePosition = nodePosition;
        }

        public int getNodeTotalNumber() {
            return nodeTotalNumber;
        }

        public void setNodeTotalNumber(int nodeTotalNumber) {
            this.nodeTotalNumber = nodeTotalNumber;
        }

        public String getNodeName() {
            return nodeName;
        }

        public void setNodeName(String nodeName) {
            this.nodeName = nodeName;
        }
    }
}
